//
//  Tool.h
//  HGMMT
//
//  Created by eport_user1 on 2018/4/9.
//  Copyright © 2018年 eport_user1. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface Tool : NSObject
//设置16进制颜色
+ (UIColor *)colorWithHex:(int)hexValue alpha:(CGFloat)alpha;

//隐藏tableview多余的横线
+ (void)setExtraCellLineHidden: (UITableView *)tableView;

//json转换成字符串
+(NSString *)convertToJsonData:(NSDictionary *)dict;

//字符串转成json
+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;

@end
